package com.qf.service.impl;

import com.qf.bean.Wife;
import com.qf.dao.WifeDao;
import com.qf.service.WifeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * IntelliJ IDEA -> springdata
 * 2019/12/2 17:12
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
@Service("wifeservice")
public class WifeSericeImpl implements WifeService {
   @Autowired
   private WifeDao wifeDao;
    @Override
    public Wife findById(int id) {
        return wifeDao.findOne(id) ;
    }
}
